import request from '@/utils/axios/axios-service.ts'

//列表
export const CHANNELList = (params: any) => request.get('/v1/channel', {params: params})
//新增
export const CHANNELAdd = (data:any,params: any) => request.post('/v1/channel', data, {params: params})
//详情
export const CHANNELDetail = (params: any) => request.get('/v1/channel', {params: params})
//修改
export const CHANNELUpdate = (data:any,params: any) => request.put('/v1/channel', data, {params: params})
//删除
export  const CHANNELDelete=(params: any) => request.delete('/v1/channel', {params: params})

//列表
export const PRODUCTList = (params: any) => request.get('/v1/product', {params: params})
//新增
export const PRODUCTAdd = (data:any,params: any) => request.post('/v1/product', data, {params: params})
//详情
export const PRODUCTDetail = (params: any) => request.get('/v1/product', {params: params})
//修改
export const PRODUCTUpdate = (data:any,params: any) => request.put('/v1/product', data, {params: params})
//删除
export  const PRODUCTDelete=(params: any) => request.delete('/v1/product', {params: params})

//产品key
export  const PRODUCTCONFIG=(params: any) => request.get('/v1/config', {params: params})

//商务提成
export  const MANAGERLIST=(params: any) => request.get('/v1/manager', {params: params})

//订单总计
export  const PAYSUM=(params: any) => request.get('/v1/trade', {params: params})

//费率变更
export  const MANAGERLOG=(params: any) => request.get('/v1/manager', {params: params})

//财务 预充值手续费
export  const bookFee=(params: any) => request.get('/v1/book', {params: params})

//预充值手续费 数据
export  const BOOKSUM=(params: any) => request.get('/v1/book', {params: params})
